package com.zt.business.service;


import com.zt.model.entity.Role;
import com.zt.model.mapper.RoleMapper;

import java.util.List;

public class RoleService {


    private RoleMapper roleMapper;

    public int insert(Role pojo){
        return roleMapper.insert(pojo);
    }

    public int insertList(List< Role> pojos){
        return roleMapper.insertList(pojos);
    }

    public List<Role> select(Role pojo){
        return roleMapper.select(pojo);
    }

    public int update(Role pojo){
        return roleMapper.update(pojo);
    }

}
